<template>
  <div>
    <el-button type="primary" @click="willAdd">添加</el-button>
    <v-list @edit="willEdit"></v-list>
    <v-form ref="form" :flag="flag"></v-form>
  </div>
</template>
<script>
import vList from "./components/list.vue";
import vForm from "./components/form.vue";
import toggle from "../../mixins/addEdit";
export default {
  mixins: [toggle],
  components: {
    vList,
    vForm,
  },
  mounted() {},
  data() {
    return {};
  },
  methods: {},
};
</script>
<style lang="less" scoped>
</style>